package com.swg.bean;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;

public class Pig{
    public Pig(){
        System.out.println("pig constructor...");
    }

    @PostConstruct
    public void init(){
        System.out.println("pig init...");
    }

    @PreDestroy
    public void destory(){
        System.out.println("pig destory...");
    }
}
